{%include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}
  <!--主要内容开始-->
<div class="content-wrapper">
	<section class="content">
		<div class="row">
			<section class="col-sm-2 connectedSortable" style="padding-right:0px;">
				<form action="" method="post">
					<div class="box box-solid">
						<div class="box-header with-border">
							<div class="form-group">
								<label>报表内容</label>
								<div style="height:200px; overflow-y:scroll; padding-left:12px;">
									{%foreach from=$record_ini key=key item=value%}
									<label class="choice"><input type="checkbox" value="{%$value.title%}" name="content[{%$value.name%}]"> {%$value.title%}</label>
									{%/foreach%}
								</div>
							</div>
						</div>
					</div><!--box box-solid-->
					<div class="box box-solid">
						<div class="box-header with-border">
							<div class="form-group">
								<label>查询条件</label>
								<div style="height:200px; overflow-y:scroll; padding-left:12px;">
									{%foreach from=$record_ini key=key item=value%}
									<label class="choice"><input type="checkbox" value="{%$value.name%}" name="condition[{%$value.name%}]"> {%$value.title%}</label>
									{%/foreach%}
								</div>
							</div>
                            <div >
							    <input type="hidden" name="posttype" value="1">
						    	<button type="submit" class="btn btn-primary btn-sm"> 确 定</button>
                            </div>
						</div>
					</div><!--box box-solid-->
					<div class="box box-solid">
						<div class="box-header with-border">
							<div class="form-group">
								<label>报表模板</label>
								<div style="height:100px; overflow-y:scroll; padding-left:12px;">
									{%foreach from=$tmodule item=value%}
									<a href="index.php?a=teacher.showmodule&t_id={%$value.t_id%}">{%$value.t_name%}</a><br/>
									{%/foreach%}
								</div>
							</div>
						</div>
					</div><!--box box-solid-->
				</form>
			</section>
			<!--左侧结束-->
			<section class="col-sm-10 connectedSortable">
				<form action="index.php?a=teacher.selectlist" method="post">
					<div class="box box-default box-solid">
						<div class="box-header with-border">
							<span class="fa fa-pencil" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
							<p class="box-title">报表基本信息</p>
						</div>
						<div class="box-body">
							<!--查询条件-->
							{%if $condition %}
							<div class="row" >
								{%if 'staff_name'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										姓名：
									</label>
									<div class="input-group col-sm-6" >
										<input name="staff_name" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_usedname'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										曾姓名：
									</label>
									<div class="input-group col-sm-6" >
										<input name="staff_usedname" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_sex'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										性别：
									</label>
									<div class="input-group col-sm-6" >
										<select name="staff_sex" class="form-control">
											<option value="">全部</option>
											<option value="1">男</option>
											<option value="0">女</option>
										</select>
									</div>
								</div>
								{%/if%}
								{%if 'staff_number'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										教职工号：
									</label>
									<div class="input-group col-sm-6" >
										<input name="staff_number" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_area'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										国籍/地区：
									</label>
									<div class="input-group col-sm-6" >
										<input name="staff_area" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_idtype'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										身份证件类型：
									</label>
									<div class="input-group col-sm-6" >
										<input name="staff_idtype" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_card'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										身份证件号：
									</label>
									<div class="input-group col-sm-6" >
										<input name="staff_card" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_info'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										信息技术应用能力：
									</label>
									<div class="input-group col-sm-6" >
										<input name="staff_info" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_home'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										籍贯：
									</label>
									<div class="input-group col-sm-6" >
										<input name="staff_home" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_city'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										出生地：
									</label>
									<div class="input-group col-sm-6" >
										<input name="staff_city" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_nation'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										民族：
									</label>
									<div class="input-group col-sm-6" >
										<input name="staff_nation" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_party'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										政治面貌：
									</label>
									<div class="input-group col-sm-6" >

										<select name="staff_party" class="form-control">
											<option value="">全部</option>
											{%foreach from=$party_ini key=key item=value%}
											<option value="{%$key%}">{%$value%}</option>
											{%/foreach%}
										</select>

									</div>
								</div>
								{%/if%}
								{%if 'staff_marry'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										婚姻状况：
									</label>
									<div class="input-group col-sm-6" >
										<input name="staff_marry" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_health'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										健康状况：
									</label>
									<div class="input-group col-sm-6" >
										<input name="staff_health" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_orignal'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										教职工来源：
									</label>
									<div class="input-group col-sm-6" >
										<input name="staff_orignal" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_classes'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										教职工类别：
									</label>
									<div class="input-group col-sm-6" >
										<input name="staff_classes" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_nature'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										是否在编：
									</label>
									<div class="input-group col-sm-6" >
										<select name="staff_nature" class="form-control">
											<option value="">全部</option>
											<option VALUE="是">是</option>
											<option value="否">否</option>
										</select>
									</div>
								</div>
								{%/if%}
								{%if 'staff_style'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										用人形式：
									</label>
									<div class="input-group col-sm-6" >
										<input name="staff_style" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_free'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label  class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										是否属于免费(公费)师范生：
									</label>
									<div class="input-group col-sm-6" >
										<select name="staff_free" class="form-control">
											<option value="">全部</option>
											<option value="是">是</option>
											<option value="否">否</option>
										</select>
									</div>
								</div>
								{%/if%}
								{%if 'staff_basic'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										是否参加基层服务项目：
									</label>
									<div class="input-group col-sm-6" >
										<select name="staff_basic" class="form-control">
											<option value="">全部</option>
											<option value="是">是</option>
											<option value="否">否</option>
										</select>
									</div>
								</div>
								{%/if%}
								{%if 'staff_super'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										是否是特级教师：
									</label>
									<div class="input-group col-sm-6" >
										<select name="staff_super" class="form-control">
											<option value="">全部</option>
											<option value="是">是</option>
											<option value="否">否</option>
										</select>
									</div>
								</div>
								{%/if%}
								{%if 'staff_bone'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										是否县级及以上骨干教师：
									</label>
									<div class="input-group col-sm-6" >
										<select name="staff_bone" class="form-control">
											<option value="">全部</option>
											<option value="是">是</option>
											<option value="否">否</option>
										</select>
									</div>
								</div>
								{%/if%}
								{%if 'staff_mental'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										是否心理健康教育教师：
									</label>
									<div class="input-group col-sm-6" >
										<select name="staff_mental" class="form-control">
											<option value="">全部</option>
											<option value="是">是</option>
											<option value="否">否</option>
										</select>
									</div>
								</div>
								{%/if%}
								{%if 'staff_zhuang'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										人员状态：
									</label>
									<div class="input-group col-sm-6" >
										<input name="staff_zhuang" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_addr'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										家庭住址：
									</label>
									<div class="input-group col-sm-6" >
										<input name="staff_addr" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_fix'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										固定电话：
									</label>
									<div class="input-group col-sm-6" >
										<input name="staff_fix" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_tel'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										手机号码：
									</label>
									<div class="input-group col-sm-6" >
										<input name="staff_tel" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_position'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										工作职称：
									</label>
									<div class="input-group col-sm-6" >
										<select name="staff_position" class="form-control">
											<option value="">全部</option>
											{%foreach from=$position_ini key=key item=value%}
											<option value="{%$key%}">{%$value%}</option>
											{%/foreach%}
										</select>
									</div>
								</div>
								{%/if%}
								{%if 'staff_education'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										最高学历：
									</label>
									<div class="input-group col-sm-6" >
										<select name="staff_education" class="form-control">
											<option value="">全部</option>
											{%foreach from=$education_ini key=key item=value%}
											<option value="{%$key%}">{%$value%}</option>
											{%/foreach%}
										</select>
									</div>
								</div>
								{%/if%}
								{%if 'staff_school'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										毕业院校：
									</label>
									<div class="input-group col-sm-6" >
										<input name="staff_school" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_signed'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										签订合同情况：
									</label>
									<div class="input-group col-sm-6" >
										<input name="staff_signed" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_normal'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										是否全日制师范类专业毕业：
									</label>
									<div class="input-group col-sm-6" >
										<select name="staff_normal" class="form-control">
											<option value="">全部</option>
											<option value="是">是</option>
											<option value="否">否</option>
										</select>
									</div>
								</div>
								{%/if%}
								{%if 'staff_skill'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										是否受过特教专业培养培训：
									</label>
									<div class="input-group col-sm-6" >
										<select name="staff_skill" class="form-control">
											<option value="">全部</option>
											<option value="是">是</option>
											<option value="否">否</option>
										</select>
									</div>
								</div>
								{%/if%}
								{%if 'staff_certificate'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										是否有特殊教育从业证书：
									</label>
									<div class="input-group col-sm-6" >
										<select name="staff_certificate" class="form-control">
											<option value="">全部</option>
											<option value="是">是</option>
											<option value="否">否</option>
										</select>
									</div>
								</div>
								{%/if%}
								{%if 'staff_remark'|in_array:$condition%}
								<div class="form-group col-sm-4 col-xs-6">
									<label class="col-sm-6 control-label text-right" style="padding:0px; font-weight:500;">
										备注：
									</label>
									<div  class="input-group col-sm-6" >
										<input name="staff_remark" type="text" class="form-control">
									</div>
								</div>
								{%/if%}
								{%if 'staff_birth'|in_array:$condition%}
								<div class="form-group col-md-6">
									<label class="col-sm-3 control-label text-right" style="padding:0; font-weight:500;">
										出生日期：
									</label>
									<div class="input-group col-md-4" style="float:left;">
										<input name="staff_birth_from" type="text" class="form-control from" value="">
										<div class="input-group-addon" style="padding:6px 7px;">
											<i class="fa fa-calendar"></i>
										</div>
									</div><span style="float:left;">  ~  </span >
									<div class="input-group col-md-4" style="float:left;">
										<input name="staff_birth_to" type="text" class="form-control from" value="">
										<div class="input-group-addon" style="padding:6px 7px;">
											<i class="fa fa-calendar"></i>
										</div>
									</div>
								</div>
								{%/if%}
								{%if ''|in_array:$condition%}
								<div class="form-group col-md-6">
									<label class="col-sm-3 control-label text-right" style="padding:0;font-weight:500;">
										参加工作年月：
									</label>
									<div class="input-group col-md-4" style="float:left;">
										<input name="start_time_from" type="text" class="form-control from" value="">
										<div class="input-group-addon" style="padding:6px 7px;">
											<i class="fa fa-calendar"></i>
										</div>
									</div><span style="float:left;">  ~  </span >
									<div class="input-group col-md-4" style="float:left;">
										<input name="start_time_to" type="text" class="form-control from" value="">
										<div class="input-group-addon" style="padding:6px 7px;">
											<i class="fa fa-calendar"></i>
										</div>
									</div>

								</div>
								{%/if%}
								{%if ''|in_array:$condition%}
								<div class="form-group col-md-6">
									<label class="col-sm-3 control-label text-right" style="padding:0;font-weight:500;">
										进本校年月：
									</label>
									<div class="input-group col-md-4" style="float:left;">
										<input name="end_time_from" type="text" class="form-control from" value="">
										<div class="input-group-addon" style="padding:6px 7px;">
											<i class="fa fa-calendar"></i>
										</div>
									</div><span style="float:left;">  ~  </span >
									<div class="input-group col-md-4" style="float:left;">
										<input name="end_time_to" type="text" class="form-control from" value="">
										<div class="input-group-addon" style="padding:6px 7px;">
											<i class="fa fa-calendar"></i>
										</div>
									</div>
								</div>
								{%/if%}
								{%if ''|in_array:$condition%}
								<div class="form-group col-md-6">
									<label class="col-sm-3 control-label text-right" style="padding:0;font-weight:500;">
										参加基层服务项目起始年月：
									</label>
									<div class="input-group col-md-4" style="float:left;">
										<input name="staff_basic_start_from" type="text" class="form-control from" value="">
										<div class="input-group-addon" style="padding:6px 7px;">
											<i class="fa fa-calendar"></i>
										</div>
									</div><span style="float:left;">  ~  </span >
									<div class="input-group col-md-4" style="float:left;">
										<input name="staff_basic_start_to" type="text" class="form-control from" value="">
										<div class="input-group-addon" style="padding:6px 7px;">
											<i class="fa fa-calendar"></i>
										</div>
									</div>
								</div>
								{%/if%}
								{%if ''|in_array:$condition%}
								<div class="form-group col-md-6">
									<label class="col-sm-3 control-label text-right" style="padding:0;font-weight:500;">
										参加基层服务项目结束年月：
									</label>
									<div class="input-group col-md-4" style="float:left;">
										<input name="staff_basic_end_from" type="text" class="form-control from" value="">
										<div class="input-group-addon" style="padding:6px 7px;">
											<i class="fa fa-calendar"></i>
										</div>
									</div><span style="float:left;">  ~  </span >
									<div class="input-group col-md-4" style="float:left;">
										<input name="staff_basic_end_to" type="text" class="form-control from" value="">
										<div class="input-group-addon" style="padding:6px 7px;">
											<i class="fa fa-calendar"></i>
										</div>
									</div>
								</div>
								{%/if%}
								{%if ''|in_array:$condition%}
								<div class="form-group col-md-6">
									<label class="col-sm-3 control-label text-right" style="padding:0;font-weight:500;">
										调动时间：
									</label>
									<div class="input-group col-md-4" style="float:left;">
										<input name="staff_ctime_from" type="text" class="form-control from" value="">
										<div class="input-group-addon" style="padding:6px 7px;">
											<i class="fa fa-calendar"></i>
										</div>
									</div><span style="float:left;">  ~  </span >
									<div class="input-group col-md-4" style="float:left;">
										<input name="staff_ctime_to" type="text" class="form-control from" value="">
										<div class="input-group-addon" style="padding:6px 7px;">
											<i class="fa fa-calendar"></i>
										</div>
									</div>
								</div>
								{%/if%}
								{%if ''|in_array:$condition%}
								<div class="form-group col-md-6">
									<label class="col-sm-3 control-label text-right" style="padding:0; font-weight:500;">
										入党日期：
									</label>
									<div class="input-group col-md-4" style="float:left;">
										<input name="staff_party_date_from" type="text" class="form-control from" value="">
										<div class="input-group-addon" style="padding:6px 7px;">
											<i class="fa fa-calendar"></i>
										</div>
									</div><span style="float:left;">  ~  </span >
									<div class="input-group col-md-4" style="float:left;">
										<input name="staff_party_date_to" type="text" class="form-control from" value="">
										<div class="input-group-addon" style="padding:6px 7px;">
											<i class="fa fa-calendar"></i>
										</div>
									</div>
								</div>
								{%/if%}
								{%if ''|in_array:$condition%}
								<div class="form-group col-md-6">
									<label class="col-sm-3 control-label text-right" style="padding:0; font-weight:500;">
										毕业时间：
									</label>
									<div class="input-group col-md-4" style="float:left;">
										<input name="staff_graduate_time_from" type="text" class="form-control from" value="">
										<div class="input-group-addon" style="padding:6px 7px;">
											<i class="fa fa-calendar"></i>
										</div>
									</div><span style="float:left;">  ~  </span >
									<div class="input-group col-md-4" style="float:left;">
										<input name="staff_graduate_time_to" type="text" class="form-control from" value="">
										<div class="input-group-addon" style="padding:6px 7px;">
											<i class="fa fa-calendar"></i>
										</div>
									</div>
								</div>
								{%/if%}
							</div>
							<button type="submit" class="btn btn-primary" style="float:right; margin:8px;">确定</button>
							{%else%}
							<p>请在左侧选择查询条件及所需内容</p>
							{%/if%}
							<!--查询条件-->
							<div class="form-group">
								<div style="width:100%; overflow-x:scroll;">
									<table class="table table-bordered table-striped" id="mytable">
										<thead>
										<tr>
											{%foreach from=$content item=value%}
											<td>{%$value%}</td>
											{%/foreach%}
										</tr>
										</thead>
										{%foreach from=$teacher_lists item=value%}
										<tr>
											{%foreach from=$value item=v%}
											<td>{%$v%}</td>
											{%/foreach%}
										</tr>
										{%/foreach%}
									</table>
								</div>
							</div>
						</div><!--box-body -->
					</div><!--box box-default box-solid-->
				</form>
					<div class="box box-default box-solid">
						<form action="index.php?a=teacher.tmodule" method="post">
						<select name="t_id" id="">
							<option value="">空模板</option>
							{%foreach from=$tmodule item=value%}
							<!--<option value="1">请选择</option>-->
							<option value="{%$value.t_id%}">{%$value.t_name%}</option>
							{%/foreach%}
						</select>
						<div class="box-body">
							<div class="form-group">
								<label for="inputPassword3" class="col-md-1 control-label" style="padding-right:0; padding-left:0; font-weight:500;">
									报表名称：
								</label>
								<div class="input-group col-md-6 col-sm-12 col-xs-12">
									<input type="text" name="t_name" class="form-control" value="">
								</div>
							</div>
							<div class="form-group">
								<label for="inputPassword3" class="col-md-1 control-label" style="padding-right:0; padding-left:0; font-weight:500;">
									描述信息：
								</label>
								<div class="input-group col-md-6 col-sm-12 col-xs-12">
									<textarea name="t_info" class="form-control" rows="2"></textarea>
								</div>
							</div>
						</div><!--box-body -->
						<div class="box-footer text-center">
							{%if $teacher_lists%}
							<a class="btn btn-warning" href="index.php?a=teacher.ttcherout">导 出</a>
							{%/if%}
							<button class="btn btn-primary" type="submit">保 存</button>
						</div>
					</div><!--box box-default box-solid-->
				</form>

			</section>
		</div><!--row-->
	</section>
</div>
  <!--主要内容结束-->
{%include file="index.footer.tpl.php"%}
<script>
  $(function() {
    $( ".from" ).datepicker({
      defaultDate: "+1w",
      changeMonth: true,
	  changeYear: true,
      numberOfMonths:1,
	  yearRange:"1930:2017",
    });
    $( ".to" ).datepicker({
      defaultDate: "+1w",
      changeMonth: true,
      changeYear: true,
	  yearRange:"1930:2017",
      numberOfMonths:1,
    });
  });
  </script>
